import java.io.IOException;
import java.util.ArrayList;


/**
 * @author soffo
 *
 */
public class RentalController {

	RentalFileManager rentalFileManager ;
    RentalModel rentalModel;
    RentalView rentalView;

    public void addRental(ArrayList<RentalModel> rentalModels)
    {
    	try {
    		rentalFileManager = new RentalFileManager();
    		rentalFileManager.writeToFile(rentalModels);
			//copyFileManager.writeToFile(model);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
    }
}
